/**
 * @ngdoc module
 * @name controllers.timeDataDis.provinceVolumeOfBus
 * @description provinceVolumeOfBus module
 */
;
(function () {
  'use strict';

  angular.module('controllers.timeDataDis.provinceVolumeOfBus', [])
    .controller('provinceVolumeOfBusCtrl', provinceVolumeOfBusCtrl);

  function provinceVolumeOfBusCtrl($scope, provinceVolumeOfBusServer, provinceVolumeOfBusModel) {

    $scope.provinceVolumeOfBus = provinceVolumeOfBusModel;

    $scope.$watch('provinceVolumeOfBus.rateState', function (value) {
      $scope.$parent.tabState.rateState = value;
    });

    provinceVolumeOfBusServer.initProvinceVolumeOfBus('provinceVolumeOfBus');
  }
})();